//红色按钮
.btn-red {
    height: 29px;
    margin-left: 8px;
    min-width: 96px;
    user-select: none;
    box-sizing: border-box;
    transition: opacity ease-in-out 100ms,color ease-in-out 100ms,background-color ease-in-out 100ms,border-color ease-in-out 100ms;
    border-radius: 3px;
    box-shadow: 0 1px 1px 0 rgba(200,200,200,0.2);
    display: inline-block;
    font-weight: 500;
    outline: 0;
    padding: 3px 7px 4px 7px;
    text-align: center;
    text-decoration: none;
    border: 1px solid #962520;
    background: #b92b27;
    color: #fff;
    cursor: pointer;
    
    &:hover {
        background-color: #962520;
    }
}

//蓝色按钮
.btn-blue {
    cursor: pointer;
    width: 121px;
    height: 26px;
    background: #f1f8fb;
    color: #2b6dad;
    font-weight: 500;
    border: 1px solid #bbcadc;
    border-radius: 4px;
    margin-bottom: 10px;
    transition:all 0.3s;
    
    &:hover {
        border: 1px solid #2865a1;
        color: #2865a1;
    }
}

.btn-showen {
    opacity: 0;
    color: #666;
    text-align: center;
    position: absolute;
    z-index: 11;
    height: 45px;
    width: 45px;
    line-height: 1.1;
    font-size: 12px;
    padding: 8px;
    box-sizing: border-box;
    border-radius: 50%;
    right: -51px;
    top: 20px;
    background-color: #fff;
    border-bottom: 1px solid #e2e2e2;
    box-shadow: 0px 0px 20px #e9e9e9;
    cursor: pointer;
    transition: all 0.3s;

    &:hover {
        box-shadow: 0px 0px 20px gray;
    }
}

.layout-inside .btn-showen {
    right: -110px;
}

.layout-inside:hover .btn-showen, 
.question-answer:hover .btn-showen, 
.answer-warp:hover .btn-showen {
    opacity: 1;
}

@media screen and (max-width: 900px) {
    .btn-showen {
        right: 0px;
        display: inherit;
        width: 80px;
        border-radius: 3px;
        height: 30px;
        top: 0px;
        opacity: 1;
    }
    .btn-showen:hover {
        box-shadow: none;
    }
    .layout-inside .btn-showen {
        top: -30px;
        right: 0px;
    }
}